package com.chinacoal.microservice.service;

import java.util.List;

import com.chinacoal.microservice.pojo.CcmsSmartleasingIndicator;
import com.chinacoal.microservice.util.Result;

/**
 * 考核模块-指标管理业务层
 * @author wiilead
 *
 */
public interface IndicatorService {
	/**
	 * 新增或修改指标
	 * @param indicator
	 * @param token
	 * @return
	 */
	Result addOrUpdateIndicator(CcmsSmartleasingIndicator indicator,String token);
	
	/**
	 * 指标列表
	 * @param parentId
	 * @return
	 */
	Result<List<CcmsSmartleasingIndicator>> getIndicatorList();
	
	/**
	 * 删除指标库
	 * @return
	 */
	Result deleteIndicator(String indicatorId);
}
